import i18n from '@src/locales';
import FormSubFormSetting from './FormSubFormSetting.vue';
import FormSubFormPreview from './FormSubFormPreview.vue';
import FormSubForm from './FormSubForm.vue';
import FormSubFormView from './FormSubFormView.vue';

let FormSubFormField = {
  formType: 'subForm',
  name: i18n.t('common.form.type.subForm'),
  isSystem: 0,
  component: {
    setting: FormSubFormSetting,
    preview: FormSubFormPreview,
    build: FormSubForm,
    view: FormSubFormView,
    extend: {}
  }
};

export default FormSubFormField;
